
using AutoMapper;
using JYJ.AiYard.StationManagement.TbYardIssuedCards;
using JYJ.AiYard.StationManagement.TbYardIssuedCards.Dtos;

namespace JYJ.AiYard.StationManagement.TbYardIssuedCards.Mapper
{

	/// <summary>
    /// 配置TbYardIssuedCard的AutoMapper
    /// </summary>
	internal static class TbYardIssuedCardMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbYardIssuedCard,TbYardIssuedCardListDto>();
            configuration.CreateMap <TbYardIssuedCardListDto,TbYardIssuedCard>();

            configuration.CreateMap <TbYardIssuedCardEditDto,TbYardIssuedCard>();
            configuration.CreateMap <TbYardIssuedCard,TbYardIssuedCardEditDto>();

            configuration.CreateMap<TbYardIssuedCardDb, TbYardIssuedCardListDto>();
            configuration.CreateMap<TbYardIssuedCardListDto, TbYardIssuedCardDb>();

            configuration.CreateMap<TbYardIssuedCardDb, TbYardIssuedCardEditProcDto>();
            configuration.CreateMap<TbYardIssuedCardEditProcDto, TbYardIssuedCardDb>();


            configuration.CreateMap<TbYardIssuedCard, TbYardIssuedCardEditProcDto>();
            configuration.CreateMap<TbYardIssuedCardEditProcDto, TbYardIssuedCard>();

        }
	}
}
